use percent_encoding::{percent_encode, NON_ALPHANUMERIC};

pub fn encode_url(url:&str) -> String {
    percent_encode(url.as_bytes(), NON_ALPHANUMERIC).to_string()
}